local extension = Package:new("jyzs_cards", Package.CardPack)
extension.extensionName = "new_heg"

local H = require "packages.ol_hegemony.util"

extension.game_modes_whitelist = {"zhonger_heg_mode","warlords_heg_mode","jin_heg_mode", "tang_heg_mode"}

extension:loadSkillSkelsByPath("./packages/new_heg/pkg/jyzs_cards/skills")

Fk:loadTranslationTable{
["jyzs_cards"]=  "<font color='purple'>金印紫授卡牌</font>",
}

local scaly_wings = fk.CreateCard{
    name = "scaly_wings",
    type = Card.TypeEquip,
    sub_type = Card.SubtypeWeapon,
    attack_range = 0,
    equip_skill = "#scaly_wings_skill",
}

H.addCardToConvertCards("scaly_wings", "qinggang_sword")
extension:addCardSpec("scaly_wings", Card.Spade, 6)

extension:loadCardSkels{
    scaly_wings
}

Fk:loadTranslationTable{
    ["scaly_wings"] = "戢鳞潜翼",
    [":scaly_wings"] = "装备牌·武器<br/><b>攻击范围</b>：X <br/><b>武器技能</b>：锁定技，此牌的攻击范围为你已损失的体力值；"..
    "当你使用【杀】指定目标后，你令你攻击范围内不为此【杀】目标的角色不能使用牌直至此【杀】结算后。",
}

return extension